package com.coincalf.wallet.dto;

import com.coincalf.wallet.entity.AddressPool;
import com.coincalf.wallet.feign.dto.AddressPoolDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Description: 地址池数据传输对象转换器
 * @Author: Chen Long
 * @Date: Created in 2018/5/22 下午12:09
 * @Modified by: Chen Long
 */
@Mapper
public interface AddressPoolDTOMapper {

    AddressPoolDTOMapper INSTANCE = Mappers.getMapper(AddressPoolDTOMapper.class);

    AddressPoolDTO from(AddressPool addressPool);
}
